CXX = 			gcc
CXXFLAGS = 
OBJS = 			mem_abs.o main.o f_and.o f_brvs.c f_brhs.o f_brpl.o f_brcc.o f_cpse.o \
				f_clh.o f_inc.o f_ldy1.o f_ldy2.o f_ldy3.o f_lddy.o f_ldz1.o f_ldz2.o f_ldz3.o \
				f_lddz.o f_movw.o f_rol.o f_clt.o f_or.o f_seh.o f_swap.o f_set.o f_sbic.o
LINK_TARGET = 	syko.exe
LINK_DATA = 	file_data.bin
LINK_CODE = 	file_code.bin
EXE_OUT_DIR =	/mnt/data/Studia/sem4/SYKO/projects_workspace2/project_uC_AVR_v2/tests/
#------------------------------------------------------------------------------

all: ${LINK_TARGET}
	#rm -f *.o
	$(shell cp syko.exe ${EXE_OUT_DIR};)
	echo All done

${LINK_TARGET} : ${OBJS}
	${CXX} ${CXXFLAGS} $^ -o $@
	#rm -f *.o
	
		
clean:
	rm -f *.o *.elf *.lst *.exe *.bin
	echo Clean done
	


